/**
 * Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.ykkj.plant.base.images.entity;

import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 图片管理Entity
 * @author Wrong
 * @version 2016-10-09
 */
public class Images extends DataEntity<Images> {
	
	private static final long serialVersionUID = 1L;
	private String recordId;		// 记录id
	private String tableName;		// 表名
	private String imgUrl;		// 图片URL
	private String imgName;		// 图片名称
	private String decription;		// 描述
	private String tag;		// 标记
	private String remark;		// remark
	private String delFalg;		// del_falg
	public Images() {
		super();
	}

	public Images(String id){
		super(id);
	}

	@Length(min=0, max=64, message="记录id长度必须介于 0 和 64 之间")
	public String getRecordId() {
		return recordId;
	}

	public void setRecordId(String recordId) {
		this.recordId = recordId;
	}
	
			
	@Length(min=0, max=150, message="表名长度必须介于 0 和 150 之间")
	public String getTableName() {
		return tableName;
	}

	public void setTableName(String tableName) {
		this.tableName = tableName;
	}
	
			
	@Length(min=0, max=255, message="图片URL长度必须介于 0 和 255 之间")
	public String getImgUrl() {
		return imgUrl;
	}

	public void setImgUrl(String imgUrl) {
		this.imgUrl = imgUrl;
	}
	
			
	@Length(min=0, max=150, message="图片名称长度必须介于 0 和 150 之间")
	public String getImgName() {
		return imgName;
	}

	public void setImgName(String imgName) {
		this.imgName = imgName;
	}
	
			
	@Length(min=0, max=255, message="描述长度必须介于 0 和 255 之间")
	public String getDecription() {
		return decription;
	}

	public void setDecription(String decription) {
		this.decription = decription;
	}
	
			
	@Length(min=0, max=10, message="标记长度必须介于 0 和 10 之间")
	public String getTag() {
		return tag;
	}

	public void setTag(String tag) {
		this.tag = tag;
	}
	
			
	@Length(min=0, max=255, message="remark长度必须介于 0 和 255 之间")
	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}
	
			
	@Length(min=0, max=1, message="del_falg长度必须介于 0 和 1 之间")
	public String getDelFalg() {
		return delFalg;
	}

	public void setDelFalg(String delFalg) {
		this.delFalg = delFalg;
	}
	
			
}